import { sendRequest } from '@/http';

export const getOverview = (branchIds: string[]) =>
  sendRequest({
    url: `/admin/statistics/overview`,
    method: 'get',
    params: { branchIds: branchIds.join(',') },
  });

export const getTakeDrugMonitor = (params: any) =>
  sendRequest({
    url: `/admin/statistics/takeDrugMonitor`,
    method: 'get',
    params,
  });
